package com.example.test.service;

import com.example.test.bean.BraendType;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.test.common.model.PageModel;
import com.example.test.common.model.R;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author dz
 * @since 2022-04-10
 */
public interface BraendTypeService extends IService<BraendType> {

    R getAllBraend(PageModel pageModel);

    R getBraendByKeyword(String keyword, PageModel pageModel);

    R getBraendById(Long braendId);

    R updateBraend(BraendType braendType);

    R deleteBraend(Long braendId);

    R addBraend(String braendName);
}
